#include <openssl/crypto.h>
#include <vector>
#include <iostream>
using namespace std;

void get_versions(vector<string>& versions)
{
    string openssl_version = OpenSSL_version(0);
    string openssl_build_on = OpenSSL_version(1);
    string openssl_cflags = OpenSSL_version(2);
    string openssl_platform = OpenSSL_version(3);
    string openssl_dir = OpenSSL_version(4);
    string openssl_engines_dir = OpenSSL_version(5);

    versions.push_back(openssl_version);
    versions.push_back(openssl_build_on);
    versions.push_back(openssl_cflags);
    versions.push_back(openssl_platform);
    versions.push_back(openssl_dir);
    versions.push_back(openssl_engines_dir);
    
}
